<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/register.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/register.js"></script>
</head>
<body>
<div class="register">
    <div>
        <div>
            <div>用户名</div>
            <div><input type="text" id="username" onkeyup="checkUsername()"></div>
            <div id="uTips"></div>
        </div>
        <div>
            <div>密码</div>
            <div><input type="password" id="password" onkeyup="checkPass()"></div>
            <div id="pTips"></div>
        </div>
        <div>
            <div>确认密码</div>
            <div><input type="password"id="passwordcheck" onkeyup="checkPassDouble()"></div>
            <div id="pTips1"></div>
        </div>
        <div>
            <div>电话</div>
            <div><input type="text" id="phone" onkeyup="checkPhone()"></div>
            <div id="phTpips"></div>
        </div>
        <div>
            <div>体重</div>
            <div><input id="weight" type="number"></div>
        </div>
        <div>
            <div>邮箱</div>
            <div><input type="email" id="email" onkeyup="checkEmail()"></div>
            <div id="mailTpis"></div>
        </div>
        <div>
            <div>性别</div>
            <div><input id="sex1" name="sex" type="radio" value="男">
                <label for="sex1">男</label>
                <input id="sex2" name="sex" type="radio" value="女">
                <label for="sex2">女</label>
                <input id="sex3" name="sex" type="radio" value="保密">
                <label for="sex3">保密</label>
            </div>

        </div>
        <div>
            <div>爱好</div>

            <div><input type="checkbox" name="hobby" value="拳击">拳击

                <input type="checkbox" name="hobby" value="撸铁">撸铁

                <input type="checkbox" name="hobby" value="跑步">跑步

                <input type="checkbox" name="hobby" value="瑜伽">瑜伽
            </div>
        </div>

        <div>
            <div>生日</div>
            <div><input id="birthday" type="date"></div>
        </div>

        <div>
            <div><input type="button" value="注册"   onclick="register()"></div>
            <div><a href="html/login.html"><input type="button" value="登录" ></a></div>
        </div>
    </div>

</div>
</body>
</html>